package cn.cutie.clot.mq.client;

import cn.cutie.clot.mq.model.ClotMessage;
import lombok.AllArgsConstructor;

/**
 * @Description:
 * @Author: Cutie
 * @CreateDate: 2024/6/27 12:26
 * @Version: 0.0.1
 */
@AllArgsConstructor
public class ClotProducer {

    ClotBroker broker;

    public boolean send(String topic, ClotMessage message) {
        return broker.send(topic, message);
    }
}
